import request from '@/utils/request'

const path = '/card/order'

export function fetchList(query) {
  return request({
    url: path,
    method: 'get',
    params: query
  })
}

export function fetchOrder(id) {
  return request({
    url: path + '/' + id,
    method: 'get'
  })
}
